package cn.charmaine.org.mapper;

import cn.charmaine.org.domain.Logininfo;
import cn.charmaine.basic.base.mapper.IBaseMapper;
import org.apache.ibatis.annotations.Param;


/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author xmy
 * @since 2022-07-09
 */
public interface LogininfoMapper extends IBaseMapper<Logininfo> {

    Logininfo selectByAccountAndType(@Param("account") String account, @Param("type")Integer type);

    Logininfo selectByUserId(Long userId);
}
